package com.huadi.firematerialident.po;

import java.time.LocalDate;
import java.time.LocalDateTime;

public class Admin {
    private String AdminID;
    private String AdminCount;
    private String AdminPassword;
    private String AdminName;
    private String AdminSex;
    private LocalDate AdminBirth;
    private String AdminPhone;
    private boolean LogicalAddDel;
    private LocalDateTime LastModification;

    public String getAdminID() {
        return AdminID;
    }

    public void setAdminID(String adminID) {
        long time=System.currentTimeMillis();
        String s= String.valueOf(time);
        String ss=s.substring(3);
        this.AdminID = "A"+ss;
    }

    public String getAdminCount() {
        return AdminCount;
    }

    public void setAdminCount(String adminCount) {
        AdminCount = adminCount;
    }

    public String getAdminPassword() {
        return AdminPassword;
    }

    public void setAdminPassword(String adminPassword) {
        AdminPassword = adminPassword;
    }

    public String getAdminName() {
        return AdminName;
    }

    public void setAdminName(String adminName) {
        AdminName = adminName;
    }

    public String getAdminSex() {
        return AdminSex;
    }

    public void setAdminSex(String adminSex) {
        AdminSex = adminSex;
    }

    public LocalDate getAdminBirth() {
        return AdminBirth;
    }

    public void setAdminBirth(LocalDate adminBirth) {
        AdminBirth = adminBirth;
    }

    public String getAdminPhone() {
        return AdminPhone;
    }

    public void setAdminPhone(String adminPhone) {
        AdminPhone = adminPhone;
    }

    public boolean getLogicalAddDel() {
        return LogicalAddDel;
    }

    public void setLogicalAddDel(boolean logicalAddDel) {
        LogicalAddDel = logicalAddDel;
    }

    public LocalDateTime getLastModification() {
        return LastModification;
    }

    public void setLastModification(LocalDateTime lastModification) {
        LastModification = lastModification;
    }
}
